import request from '@/common/request.js'

//添加账户
export function insertcostAccountInfo(params) {
	return request.request(
		`office-platform/costAccountInfo/insertcostAccountInfo`,
		{
			method: 'post',
			data: params,
		}
	)
}

//分页查询账号信息
export function findcostAccountInfoPage(params) {
	return request.request(
		`office-platform/costAccountInfo/findcostAccountInfoPage`,
		{
			method: 'post',
			data: params,
		}
	)
}

//修改账号
export function updatecostAccountInfo(params) {
	return request.request(
		`office-platform/costAccountInfo/updatecostAccountInfo`,
		{
			method: 'post',
			data: params,
		}
	)
}

//根据id获取账号信息
export function getcostAccountInfoById(params) {
	return request.request(
		`office-platform/costAccountInfo/getcostAccountInfoById`,
		{
			method: 'get',
			data: params,
		}
	)
}
